﻿using BingYing.SAAS.SystemModel.Application.Manager;
using BingYing.SAAS.SystemModel.EntityFramework;
using Castle.Core.Configuration;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;
using Volo.Abp;
using Volo.Abp.Application;
using Volo.Abp.Application.Services;
using Volo.Abp.Auditing;
using Volo.Abp.AutoMapper;
using Volo.Abp.Castle;
using Volo.Abp.DependencyInjection;
using Volo.Abp.DynamicProxy;
using Volo.Abp.Modularity;

namespace BingYing.SAAS.SystemModel.Application
{

    [DependsOn(
        typeof(AbpDddApplicationModule),
        typeof(AbpAutoMapperModule),
        typeof(SystemModelEntityFrameworkModule)
        )]
    public class SystemModelApplicatonModule : AbpModule
    {

        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            context.Services.AddAutoMapper(options =>
            {
                options.AddProfile<Common.AutoMapperProfiles>();
            });
        }
    }
}
